package myky.com.doctorapp.entity;

public class PageEntity {
    private int size;
    private int current;
    private int total;
    private int pages;
    private String version;

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public PageEntity() {
    }

    @Override
    public String toString() {
        return "PageEntity{" +
                "size=" + size +
                ", current=" + current +
                ", total=" + total +
                ", pages=" + pages +
                ", version='" + version + '\'' +
                '}';
    }
}
